﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="DangKy.aspx.cs" Inherits="hoangnam12.DangKy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="NamHolder" runat="server">
    <tr>
        <td height="40">
        </td>
    </tr>
    <tr align="center">
        <td align="center" style="font-size: 35px" bgcolor="#FFCC66" colspan="2">
            &#272;&#259;ng Ký
        </td>
    </tr>
    <tr align="center">
        <td align="center" height="20">
            Username :
        </td>
        <td align="left" height="70">
            <asp:TextBox ID="TextBox1" runat="server" Width="338px" BorderColor="Blue" Height="30px"
                BorderStyle="Dotted" ontextchanged="TextBox1_TextChanged"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server" ></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TextBox1" runat="server" 
                ErrorMessage="Ch&#432;a Nh&#7853;p Username"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            PassWord :
        </td>
        <td align="left" height="70">
            <asp:TextBox ID="TextBox2" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted" TextMode="Password"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="TextBox2" runat="server" 
                ErrorMessage="Ch&#432;a Nh&#7853;p Pass"></asp:RequiredFieldValidator>
    </tr>
    <tr>
        <td align="center" height="70">
           Confirm PassWord :
        </td>
        <td align="left" height="70">
            <asp:TextBox ID="TextBox6" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted" TextMode="Password"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
            <asp:CompareValidator ID="CompareValidator1" Display = "Dynamic" runat="server" ErrorMessage="Không Trùng" ControlToValidate = "Textbox2" ControlToCompare ="Textbox6" Type = "String"  EnableClientScript="False"></asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            Email :
        </td>Email :
        </td>
        <td align="left">
            <asp:TextBox ID="TextBox3" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted" TextMode="Email"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label4" runat="server"></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"  ControlToValidate = "Textbox4"
                ErrorMessage="Chưa Nhập Email"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            Tên :
        <td align="left">
            <asp:TextBox ID="TextBox4" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"  ControlToValidate = "Textbox4"
                ErrorMessage="Ch&#432;a nh&#7853;p Tên"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            H&#7885; :
        </td>
        <td align="left" height="70">
            <asp:TextBox ID="TextBox5" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
                      
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate = "Textbox5"
                ErrorMessage="Ch&#432;a nh&#7853;p H&#7885;"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            Ngày Sinh :
        </td>
        <td align="left" style="color: #0000FF">
            <span style="font-size: 14px"><strong>Ngày</strong></span><asp:TextBox ID="ngay"
                runat="server" Style="margin-left: 9px" Width="42px" BorderColor="Blue" 
                BorderStyle="Dotted"></asp:TextBox>
            &nbsp;<strong><span style="font-size: 14px">Tháng</span></strong>&nbsp;&nbsp;
            <asp:TextBox ID="thang" runat="server" Width="42px" BorderColor="Blue" 
                BorderStyle="Dotted"></asp:TextBox>
            &nbsp; <strong><span style="font-size: 14px">N&#259;m&nbsp; </span></strong>&nbsp;<asp:TextBox
                ID="nam" runat="server" Width="71px" BorderColor="Blue" 
                BorderStyle="Dotted" TextMode="Number"></asp:TextBox>
                   &nbsp;&nbsp;&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate = "ngay" 
                ErrorMessage="Ch&#432;a Nh&#7853;p n&#259;m sinh"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            Sex :
        </td>
        <td align="left" style="color: #0000FF">
            Male
            <asp:RadioButton ID="male" runat="server" />
            Female<asp:RadioButton ID="female" runat="server" />
               &nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label8" runat="server" Text="Label"></asp:Label>
        </td>
    </tr>
    <tr>
        <td align="center" height="70">
            Phone Number :
        </td>
        <td align="left">
            <asp:TextBox ID="TextBox8" runat="server" Width="338px" Height="30px" BorderColor="Blue"
                BorderStyle="Dotted" TextMode="Phone"></asp:TextBox>
                   &nbsp;&nbsp;&nbsp;
            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate = "Textbox8"
                ErrorMessage="Ch&#432;a nh&#7853;p s&#7889; &#273;t"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td align="center" height="70">
            <asp:Button ID="Button3" runat="server" BorderColor="Blue" BorderStyle="Dotted" ForeColor="Blue"
                Height="35px" OnClick="Button3_Click" Text="&#272;&#259;ng Ký" Width="100px" />
            <asp:Button ID="Button4" runat="server" BorderColor="Blue" BorderStyle="Dotted" ForeColor="Blue"
                Height="35px" Style="margin-left: 25px" Text="&#272;&#259;ng Nh&#7853;p" Width="100px" />
        </td>
    </tr>
</asp:Content>
